﻿<views:ShowView x:Class="NaturalShow.UI.Common.Views.ShowImageView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:views="clr-namespace:NaturalShow.UI.Common.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <!--<Grid.CacheMode>
            <BitmapCache EnableClearType="False"
                         RenderAtScale="2" />
        </Grid.CacheMode>-->
        <Grid x:Name="pnlMainImage"
              Width="{Binding Size.Width}"
              Height="{Binding Size.Height}">
            <Image Source="{Binding Uri}"
                   RenderOptions.BitmapScalingMode="HighQuality" />
        </Grid>
    </Grid>
</views:ShowView>
